﻿using SqlSugar;
using Zhp.SqlSugar.Entity;

namespace Zhp.Entity.Formula
{
    [SugarTable("Formula_Test")]
    public class FormulaTest : BaseEntity<FormulaTest, long>
    {
        [SugarColumn(IsNullable = false, ColumnDescription = "业务名称")]
        public string BussinessName { get; set; }

        [SugarColumn(IsNullable = false, ColumnDescription = "单价")]
        public decimal Price {  get; set; }

        [SugarColumn(IsNullable = false, ColumnDescription = "数量")]
        public decimal Number {  get; set; }

        [SugarColumn(IsNullable = false, ColumnDescription = "公式ID")]
        public long FormulaId { get; set; }

        [SugarColumn(IsNullable = false, ColumnDescription = "公式值")]
        public decimal FormulaValue { get; set; }
    }
}
